package com.ligure.controller;

import com.ligure.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController()
@RequestMapping("/t")
public class UserController {
    @Autowired
    UserService userService;

    @GetMapping("/i")
    public String insert() {
        userService.insert();
        return "123";
    }
}
